package com.fansl.allround.ucenter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author fansl
 * @Description: TODO
 * @date 2019/9/20 15:18
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ucenter_user_log")
public class UcenterUserLog extends Model<UcenterUserLog> {
    /**
     * 编号
     */
    @TableId(value = "user_log_id",type = IdType.AUTO)
    private Integer userLogId;

    /**
     * 用户编号
     *
     * @mbg.generated
     */
    private Integer userId;

    /**
     * 操作IP地址
     *
     * @mbg.generated
     */
    private String ip;

    /**
     * 操作时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 内容
     *
     * @mbg.generated
     */
    private byte[] content;

    /**
     * 操作环境
     *
     * @mbg.generated
     */
    private byte[] agent;
}
